/*
 * @Description: 
 * @Author: hanyu
 * @Date: 2022-03-04 10:40:26
 * @LastEditTime: 2022-03-08 18:29:22
 * @LastEditors: hanyu
 */
import {
    postAxios,
    getAxios
} from '@/lib/http';
export const loginApi = {
    // 登录
    login: data => {
        return postAxios('/user/login', data);
    },
    // 获取短信验证码
    sendSms: data => {
        return postAxios('/sms/send', data);
    },
};